翻訳と辞書
Words near each other
・ Colțul Scris River
・ Colțunași
・ Com
・ COM (hardware interface)
・ COM (manga magazine)
・ Com Defeito de Fabricação
・ COM DEV International
・ COM Express
・ COM file
・ Com Hem
・ COM Interop
・ COM LAG (2plus2isfive)
・ Com One group
・ Com Plex
・ COM port redirector
COM Structured Storage
・ Com Truise
・ Com Você... Meu Mundo Ficaria Completo
・ Com'è profondo il mare
・ COM+ Alliance
・ Com-pac 16
・ Com.x
・ Com21
・ Com2uS
・ Coma
・ Coma (1978 film)
・ Coma (2009 film)
・ Coma (band)
・ Coma (cometary)
・ Coma (disambiguation)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

COM Structured Storage : ウィキペディア英語版
COM Structured Storage

COM Structured Storage (variously also known as ''COM structured storage'' or ''OLE structured storage'') is a technology developed by Microsoft as part of its Windows operating system for storing hierarchical data within a single file. Strictly speaking, the term ''structured storage'' refers to a set of COM interfaces that a conforming implementation must provide, and not to a specific implementation, nor to a specific file format (in fact, a structured storage implementation need not store its data in a file at all). In addition to providing a hierarchical structure for data, structured storage may also provide a limited form of transactional support for data access. Microsoft provides an implementation that supports transactions, as well as one that does not (called ''simple-mode'' storage, the latter implementation is limited in other ways as well, although it performs better).
Structured storage is widely used in Microsoft Office applications, although newer releases (starting with Office 2007) use the XML-based Office Open XML by default. It is also an important part of both COM and the related Object Linking and Embedding (OLE) technologies. Other notable applications of structured storage include SQL Server, the Windows shell, and many third-party CAD programs.
==Motivation==

Structured storage addresses some inherent difficulties of storing multiple data objects within a single file. One difficulty arises when an object persisted in the file changes in size due to an update. If the application that is reading/writing the file expects the objects in the file to remain in a certain order, everything following that object's representation in the file may need to be shifted backward to make room if the object grows, or forward to fill in the space left over if the object shrinks. If the file is large, this could be a costly operation. Of course, there are many possible solutions to this difficulty, but often the application programmer does not want to deal with low level details such as binary file formats.
Structured storage provides an abstraction known as a ''stream'', represented by the interface IStream. A stream is conceptually very similar to a file, and the IStream interface provides methods for reading and writing similar to file input/output. A stream could reside in memory, within a file, within another stream, etc., depending on the implementation. Another important abstraction is that of a ''storage'', represented by the interface IStorage. A storage is conceptually very similar to a directory on a file system. Storages can contain streams, as well as other storages.
If an application wishes to persist several data objects to a file, one way to do so would be to open an IStorage that represents the contents of that file and save each of the objects within a single IStream. One way to accomplish the latter is through the standard COM interface IPersistStream. OLE depends heavily on this model to embed objects within documents.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「COM Structured Storage」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.